
import axios from "axios";
//默认超时时间
axios.defaults.timeout=10000;
//跨域请求，允许保存cookie
axios.defaults.withCredentials=true;

export default axios